<div class="list">
	<h1>クライアント担当者</h1>
	<div class="table">
		<table>
			<thead>
				<tr>
					<th>クライアント</th>
					<th>名前</th>
					<th>メール</th>
					<th class="edit"></th>
					<th class="delete"></th>
				</tr>
			</thead>
			<tbody>
				<?php foreach ($clientcharges as $clientcharge): ?>
				<tr>
					<td><?php echo Doctrine_Core::getTable('Client')->find($clientcharge->getClientId())->getName(); ?>
					</td>
					<td><?php echo $clientcharge->getName() ?></td>
					<td><?php echo $clientcharge->getEmail() ?></td>
					<td class="edit"><a href="<?php echo url_for("clientCharge/edit?id=".$clientcharge->getId())?>"><img></img></a></td>
				<td class="delete"><?php echo link_to('<img></img>', 'clientCharge/delete?id='.$clientcharge->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?'))?></td>
				</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
	</div>
</div>
<div class="new">
	<h1>クライアント担当者の登録</h1>

	<?php include_partial('form', array('form' => $form)) ?>

</div>
